package com.ht.web360.BasicServer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableFeignClients(basePackages = {
        "com.ht.web360.base.feignApi"
})
@ComponentScan(basePackages = {
        "com.ht.web360.base",
        "com.ht.web360.BasicServer"
})
@EnableCaching
@EnableTransactionManagement
public class BasicApplication {
    public static void main(String[] args) {
        SpringApplication.run(BasicApplication.class, args);
    }
}
